import { UPDATEPAGESELFCENTER } from '../types/pageselfcenter'
import { handleActions } from 'redux-actions'

const Schema = {
  showEmpty: false,
  requestOverFirst: false,
  networkerror: false,
  alumnidata: [],
  jobsrecommendeddata: [
    { imageLink: 'https://imagesize.hrwork.com/sp/files/55396056-b367-44a0-af20-1e8553dfda98.png' },
    { imageLink: 'https://imagesize.hrwork.com/sp/files/e8641d42-3f12-46d7-a7f7-3b5f0453bf6d.png' }
  ]
}
// {
// 	userImage: 'https://imagesize.hrwork.com/sp/files/c0da744a-b5e4-4bca-b89d-db7ca03d5b94.png',
// 		userName: '王源'
// }, {
// 	userName: '易洋千玺',
// 		userImage: 'https://imagesize.hrwork.com/sp/files/1cdc897e-1e9f-4043-8eb7-b3dfa4cf180c.png'
// }, {userImage: 'https://imagesize.hrwork.com/sp/files/c0da744a-b5e4-4bca-b89d-db7ca03d5b94.png', userName: '王源'}, {
// 	userName: '易洋千玺',
// 		userImage: 'https://imagesize.hrwork.com/sp/files/1cdc897e-1e9f-4043-8eb7-b3dfa4cf180c.png'
// }
export default handleActions(
  {
    [UPDATEPAGESELFCENTER](state, action) {
      return {
        ...state,
        ...action.payload
      }
    }
  },
  Schema
)
